import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '../pages/Home.vue'
import AddTask from '../pages/AddTask.vue'

const routes = [
  { path: '/', component: Home },
  { path: '/add', component: AddTask }
]

export default createRouter({
  history: createWebHashHistory(),
  routes
})